Notes: Difference between revisions

From Hackspire
Jump to navigation Jump to search
m (idem)
No edit summary
Line 15: Line 15:


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0"> <!-- Version 2.0 depuis que l'on peut ajouter des images? -->
<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0"> <!-- -->
<np:mFlags>1024</np:mFlags> <!--  -->
<np:mFlags>1024</np:mFlags> <!--  -->
<np:value>3</np:value> <!--  -->
<np:value>3</np:value> <!--  -->
<np:fmtxt>{ARBRE}</np:fmtxt> <!-- Le texte est stocké dans cet arbre -->
<np:fmtxt>{ARBRE}</np:fmtxt> <!-- Text is in this tree -->
</wdgt> <!--  -->
</wdgt> <!--  -->
</syntaxhighlight>
</syntaxhighlight>

Revision as of 17:05, 28 December 2011

Notes

Raw

<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0">
<np:mFlags>1024</np:mFlags>
<np:value>3</np:value>
<np:fmtxt>{ARBRE}</np:fmtxt>
</wdgt>

Explanation

<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0">	<!--  -->
<np:mFlags>1024</np:mFlags>					<!--  -->
<np:value>3</np:value>						<!--  -->
<np:fmtxt>{ARBRE}</np:fmtxt>					<!-- Text is in this tree -->
</wdgt>								<!--  -->


Raw exemple

<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0">
	<np:mFlags>1024</np:mFlags>
	<np:value>3</np:value>
	<np:fmtxt>
		<r2dtotree>
			<node name="1doc">
				<node name="1para">
					<node name="1rtline">
						<leaf name="1word">
							L1
						</leaf>
					</node>
				</node>
				
				<node name="1para">
					<node name="1rtline">
						<leaf name="1word">
							L2
						</leaf>
					</node>
				</node>
				
				<node name="1para">
					<node name="1rtline">
						<leaf name="1word">
							L3
						</leaf>
					</node>
				</node>
				
				<node name="1para">
					<node name="1rtline">
						<leaf name="1word" continued="1">
							llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
						</leaf>
					</node>
					<node name="1rtline">
						<leaf name="1word" continuation="1">
							llllllllllllllllllllllllllllllllllllllllllllllllllllllll
						</leaf>
					</node>
				</node>
				
				<node name="1para">
					<node name="1rtline">
						<leaf name="1word">
							&amp;amp;é&amp;quot;&amp;apos;(-è_çà)=
						</leaf>
					</node>
				</node>
				
				<node name="1para">
					<node name="1rtline">
						<leaf name="1word"/>
					</node>
				</node>
					
				<node name="1para">
					<node name="1rtline">
						<leaf name="1word">
							L10!
						<cursor index="0"/>
						</leaf>
						</node>
				</node>
				
			</node>
		</r2dtotree>
	</np:fmtxt>
</wdgt>


Catégorie:XML format used in TNS&TNSP files