cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Savetext construction rule and usetext source syntax

cleccese
10-Marble

Savetext construction rule and usetext source syntax

I was looking for a list of built-in syntax commands like #CONTENT, but I could not find anything, probably because I don't know what they're called. I remember reading a post where Clay mentioned some of these useful tags which I hadn't heard before and I can't find that either.



Such as:



#CONTENT


#LT#


#GT#


#EQ#


#LE#


#GE#


#NE#


#ANY


#NONE


#XPATHCONTENT


#XPATHSTRING



@ to reference attributes



6 REPLIES 6

Hi Caroline--

Try searching the Help Center for "savetext construction rule", that should bring you to a topic where many of these items are listed.

--Clay

#CONTENT(attributename)

for the value stored in attribute named attributename.


I have added the relevant chapter, "Rules of the Road," to my website at


Caroline,



I know there have been a couple of other responses to this, all of them very
good ones. However if you want to go to the 'source', there are a couple of
ways you can do this.



First open Epic and go to the 'tutorials' folder and click on 28001C and
then open the 28001C.sgm file. Epic will most likely ask you to 'compile the
DTD' as this is an SGML file. Once it opens, you'll have the Arbortext
annotated version of the MIL SPEC that the savetext rules came from.

If you are a REAL glutton for punishment, got to

Thank you everyone! So helpful!


Lynn, when I went to http://quicksearch.dla.mil/ I got a Network error. I will look at the 28001C.sgm file tomorrow.



In Reply to Lynn Hales:


Caroline,



I know there have been a couple of other responses to this, all of them very
good ones. However if you want to go to the 'source', there are a couple of
ways you can do this.



First open Epic and go to the 'tutorials' folder and click on 28001C and
then open the 28001C.sgm file. Epic will most likely ask you to 'compile the
DTD' as this is an SGML file. Once it opens, you'll have the Arbortext
annotated version of the MIL SPEC that the savetext rules came from.

If you are a REAL glutton for punishment, got to http://quicksearch.dla.mil/
and enter 28001 in the document number search box. Then click on
MIL-PRF-28001C. This is the unadulterated (in appendix B) that the Epic help
tends to fall back on. When I put this response together, the DLA site
appeared to be down for some reason or another (as it was midnight UTC, most
likely maintenance).



Lynn


As has been mentioned before, I have found the old versions of Arbortext Editor Help (5.x) to be much more searchable and user-friendly than the 6.0 Help. You should try installing an older version of help, it makes it way easier to find answers.
Announcements

Top Tags