/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to xml/info/avt.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
*******************************************************************
 
2
**************** AVT (Attribute Value Templates) ******************
 
3
*******************************************************************
 
4
 
 
5
AVT     - ��⥬���᪮� � XPath ��ࠦ����, �뤥�塞�� 䨣��묨 ᪮�����. 
 
6
        �ᯮ������� � ���ਡ���. 
 
7
 
 
8
�ਬ��: 
 
9
-------
 
10
        <LITERAL some="hell{9+4}">
 
11
��� XPath �ਬ��: 
 
12
 
 
13
xml:    <hell>
 
14
                <url>hell.jpg</url>
 
15
                <size width="40"/>
 
16
        </hell>
 
17
xsl:    <xsl:template match="hell">
 
18
                <img src="{url}" width="{size/@width}"/>
 
19
        </xsl:template>
 
20
 
 
21
* �������� AVT �� ����᪠����
 
22
* ��� ����஢���� '{' ��� ᨬ����, ����室��� �ᯮ�짮���� '{{'
 
23
* ����� �ᯮ�짮���� ��� ���ਡ�⮢ root level�
 
 
b'\\ No newline at end of file'