![]() Use EditPlus to open the STX or ACP file you want to revert.The Exclude.js will find the previously introduced " " tags, and remove contents between them, then inserts back the #INCLUDE instruction at the beginning of the original file for STX files, or at the place where the " " tag once resides. You might need the second script, exclude.js, to revert the content file back to original. When you want to edit the STX or ACP file. NOTE Don't forget to execute the Refresh STX/ACP command. EditPlus will consume the included content along with the original content. The #INCLUDE instructions will be replaced by the external file content.Use EditPlus to open the STX or ACP file you want to include external files.For example, the following two tags encompass contents loaded from xml.stx file. Those hints are formed with a pair of " " tags. In order to support reversal operation, the include.js script not only replaces the content, but leaves some hints to indicate contents are taken from the other file. The first script, include.js, consumes STX or ACP file contents, and process the #INCLUDE instructions by replacing those instructions with contents of the corresponding file. The pack can be downloaded from EditPlus's Website. That's the reason for writing this support pack. However, currently EditPlus does not support this. Once you define the #INCLUDE instruction, the included file is automatically merged into the main file. #EDITPLUS CLIPTEXT PHP MANUAL#So once we define STX or ACP content for the basic file type, other decendant file types can borrow them without the manual copy process.įor example, in the XSD STX file, you can use: The #INCLUDE instruction tells EditPlus to load an external STX or ACP file to the file containing the instruction. To avoid manual copying of files, #INCLUDE instruction pack in developed. If we modify the XML or HTML ACP file, we have to copy them once again, in order to make those changes available for the XSLT file type. Currently when we need those ACP definitions for XSLT file type, we have to copy the XML and HTML ACP file content into the XSLT ACP file. An ACP file for XSLT instructions can benefit from existing XML ACP file and HTML ACP file (if they exist). Thus, XSD or XSLT file types can inherit the syntax definitions from the XML file types.Įxample 2, when we compose XSLT files, we usually need to input XSLT instruction elements and HTML output elements. Sometimes we have to maintain some STX or ACP files which are superset of other STX or ACP files.Įxample 1, the XSD file type (W3C XML Schema) and XSLT file type (eXtensible Stylesheet Language of Transformation) are the same time of the XML file type. This instruction pack are for STX, ACP or CTL authors. Include external file contents in STX, ACP or CTL files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |