taffLawley
Technical User
Hi there,
im a noob to XML, and have started a search engine for our small flash site. My XML has this format atm:
<AllSWF>
<Site name="Biophysics" place="bio.swf">
<keyWords>
<desc>skin</desc>
<desc>hair</desc>
<desc>care</desc>
</keyWords>
<compText>Get an awful lot of content in here</compText>
</Site>
<Site name="Toxicology" place="toxic.swf">
<keyWords>
<desc>more</desc>
<desc>of</desc>
<desc>same</desc>
</keyWords>
<compText>Get an awful lot of content in here</compText>
</Site>
</AllSWF>
The way my search currently works is that it searches the keywords for the users string, if it finds it, it then looks in the <compText> tag for the context the word was found in, and kicks it back to the user in the sentence it was in. It also tell the user where it was found (name) and offers a link (where).
My CompText however sometimes becomes quite long, anything up to about 400 chars long. My editor seems to chop of the beginning of the content sometimes for no reason.
Is their a limit to the maximum number of chars I can have in compText, or should I download a different editor, Im using MM Dreamweaver atm.
I would appreciate any assistance anyone can give.
Many thanks.
Taff
im a noob to XML, and have started a search engine for our small flash site. My XML has this format atm:
<AllSWF>
<Site name="Biophysics" place="bio.swf">
<keyWords>
<desc>skin</desc>
<desc>hair</desc>
<desc>care</desc>
</keyWords>
<compText>Get an awful lot of content in here</compText>
</Site>
<Site name="Toxicology" place="toxic.swf">
<keyWords>
<desc>more</desc>
<desc>of</desc>
<desc>same</desc>
</keyWords>
<compText>Get an awful lot of content in here</compText>
</Site>
</AllSWF>
The way my search currently works is that it searches the keywords for the users string, if it finds it, it then looks in the <compText> tag for the context the word was found in, and kicks it back to the user in the sentence it was in. It also tell the user where it was found (name) and offers a link (where).
My CompText however sometimes becomes quite long, anything up to about 400 chars long. My editor seems to chop of the beginning of the content sometimes for no reason.
Is their a limit to the maximum number of chars I can have in compText, or should I download a different editor, Im using MM Dreamweaver atm.
I would appreciate any assistance anyone can give.
Many thanks.
Taff