I just want to ask what this code practically means?
<xsl:variable name="gSetValues" select="toolPackage:setValues($obDateFormat,$gDocID)"/>
<xsl:variable name="gSmi" select="normalize-space(toolPackage:PubMetaDataReader.getEntry($gKey, 'smi'))"/>
<xsl:variable name="obDateFormat" select="toolPackage:LNDateFormat.new('<input format date>', '<output format date>', 'ENGLISH', 'German', '19000101', '365', '19000101')"/>
<xsl:variable name="vFormattedLoadDate" select="toolPackage:reformat($obLoadDateFormat,$gLoadDate,$gDocID)"/>
I don't understand the 'totalPackage' followed by setValues,LNDateFormat,PubMetaDataReader.getEntry,reformat ?
How can I connect each different 3 XML file in one XSLT..because some xml file needed is in the other xml files with one match only e.g <ARTICLE> <- the root element? The other file is the roadmap.xml and pubmeta.xml
After making an XML, it is need to do a roadmap file and dtd to proceed in XSLT?
Second
XML file
<data>
<subject dc="element1">
<category>News</category>
</subject>
<subject dc=element1">Television</subject>
<subject dc=element1">Celebrity</subject>
<subject dc=element1">Foreign Affairs</subject>
<subject dc=element1">Movies</subject>
</data>
How can I enclose each content of <subject></subject> with <term></term> that is multiple subject? and strip-off the attributes.. ?
expected output
<lnv:SUBJECT>
<term>Television</term>
<term>Celebrity</term>
<term>Foreign Affairs</term>
<term>Movies</term>
</lnv:SUBJECT>