Hello all,
Noob here, learning the basics of XSL's and cXML, so please be gentle!
I work with an eprocurement solution which uses XSL to general cXML for posting things like punchout requests, cXML purchase orders and invoices...etc. I am in need of suggestions on how to accomplish the following.
I am using the following attribute in my XSL to pull and display an order number in the resulting cXML invoice. The line I am using is:
<xsl:attribute name="invoiceID"> <xsl:value-of select="PurchaseOrderInvoice/OrderGraph/PartialOrderNumber"/> </xsl:attribute>
This line results in the following cXML line:
invoiceID="668916-0"
The number listed is the order number generated by the ERP, and the ERP will always include the dash at the end. What I am wanting to do is remove the dash between the 6 and 0, to output the results to just:
invoiceID="6689160"
Is this possible, and if so, how?
Thanks very much.