Ciao a tutti, nuovo utente qui, forse potete aiutarmi.
Premetto che non ho esperienza in campo xml quindi il problema potrebbe essere risolvibile in 2 minuti.
Avrei bisogno di generare automaticamente un report (html, pdf, indifferente) stampabile pigliando alcune informazioni da dei report .xml che il mio gestionale mi crea.
Incollo in fondo alla pagina un report di prova generato qualche minuto fa.
Da questo vorrei generare un file stampabile che mi faccia vedere solo QUALCHE informazione, esempio <OrderID>, <OrderNumber> <PhoneNumber>, ecc ecc ecc, magari anche in un template che decido io.
Cumme se fa?
Grazie in anticipo!
codice:
<?xml version="1.0" encoding="utf-8"?><orderInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<OrderID xmlns="http://w2p.aleyant.com/">ab6135ed-fff8-42c9-9b96-3afe17f03451</OrderID>
<OrderNumber xmlns="http://w2p.aleyant.com/">2189</OrderNumber>
<OrderDate xmlns="http://w2p.aleyant.com/">2014-03-24T19:50:53.053</OrderDate>
<OrderedBy xmlns="http://w2p.aleyant.com/">
<userType>67</userType>
<UserID>81e6921d-c787-441a-96a9-07d44dda1b57</UserID>
<Email>portaluri.m@gmail.com</Email>
<Login>portaluri.m</Login>
<isActive>true</isActive>
<FirstName>matteo</FirstName>
<LastName>portaluri</LastName>
<Title />
<MISID />
<ReceiveNotifications>false</ReceiveNotifications>
<ReceiveAllNotifications>false</ReceiveAllNotifications>
<TZ>Pacific Standard Time</TZ>
<Culture>en-US</Culture>
<photoURLs>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Users/UserPhoto_81e6921d-c787-441a-96a9-07d44dda1b57_small.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Users/UserPhoto_81e6921d-c787-441a-96a9-07d44dda1b57_smallsquare.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Users/UserPhoto_81e6921d-c787-441a-96a9-07d44dda1b57_medium.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Users/UserPhoto_81e6921d-c787-441a-96a9-07d44dda1b57_mediumsquare.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Users/UserPhoto_81e6921d-c787-441a-96a9-07d44dda1b57_large.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Users/UserPhoto_81e6921d-c787-441a-96a9-07d44dda1b57_xlarge.png</string>
</photoURLs>
<Phone>3494277076</Phone>
<Fax />
<canViewPricing>true</canViewPricing>
<isTaxExempt>false</isTaxExempt>
<isApproved>true</isApproved>
<isShared>false</isShared>
<shouldPrefillCheckout>false</shouldPrefillCheckout>
<cartid>00000000-0000-0000-0000-000000000000</cartid>
<approvalPlanID xsi:nil="true" />
<ApprovalGroupID xsi:nil="true" />
<CreateDate xsi:nil="true" />
<LastLogin xsi:nil="true" />
<LastOrder xsi:nil="true" />
<captureTaxID>false</captureTaxID>
<CapturePurchaseOrder>0</CapturePurchaseOrder>
<isGuestUser>false</isGuestUser>
<CartIDSaveForLater>00000000-0000-0000-0000-000000000000</CartIDSaveForLater>
</OrderedBy>
<PONumber xmlns="http://w2p.aleyant.com/" />
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Products/Product_39f619ff-c426-4ee3-a2de-bd1da265bbe0_small.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Products/Product_39f619ff-c426-4ee3-a2de-bd1da265bbe0_smallsquare.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Products/Product_39f619ff-c426-4ee3-a2de-bd1da265bbe0_medium.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Products/Product_39f619ff-c426-4ee3-a2de-bd1da265bbe0_mediumsquare.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Products/Product_39f619ff-c426-4ee3-a2de-bd1da265bbe0_large.png</string>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Sites/0a351af7-1d6e-48be-93d4-c04969f27429/Products/Product_39f619ff-c426-4ee3-a2de-bd1da265bbe0_xlarge.png</string>
</productImageURLs>
<ShipMethod>Digital Download</ShipMethod>
<ShipMethod_Carrier>None</ShipMethod_Carrier>
<ShipMethod_Code>25</ShipMethod_Code>
<shipTo>
<AddressID>f2ce3cc7-9c14-4453-a1ed-94a751224d1d</AddressID>
<isPreferred>false</isPreferred>
<Business />
<FirstName>Matteo</FirstName>
<LastName>Portaluri</LastName>
<Title />
<Address1>17330 mt stephen</Address1>
<Address2 />
<Address3 />
<City>canyon country</City>
<StateProvince>CA</StateProvince>
<Postal>91387</Postal>
<Country>US</Country>
<Phone>2131234567</Phone>
<Fax />
<Email />
</shipTo>
<fileName>2189-4-.pdf</fileName>
<relativePathName>/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Orders/2189/4/2189-4-.pdf</relativePathName>
<downloadURL>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Orders/2189/4/2189-4-.pdf</downloadURL>
<isGeneratedFile>true</isGeneratedFile>
</fileItem>
<fileItem>
<fileName>edocpreview__large.png</fileName>
<relativePathName>/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Orders/2189/4/edocpreview__large.png</relativePathName>
<downloadURL>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Orders/2189/4/edocpreview__large.png</downloadURL>
<isGeneratedFile>false</isGeneratedFile>
</fileItem>
<fileItem>
<fileName>edocpreview__small.png</fileName>
<relativePathName>/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Orders/2189/4/edocpreview__small.png</relativePathName>
<downloadURL>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Orders/2189/4/edocpreview__small.png</downloadURL>
<isGeneratedFile>false</isGeneratedFile>
</fileItem>
</OrderItemFiles>
<Assets />
<edocEditURL>http://client.edocbuilder.com/iframeClient.aspx?docCode=593965d5-3820-4bff-ad8f-7d8ecb5ba490&docPwd=65a865dd-8a79-44e8-9c04-f6eb0499c7d4&docsession=ee9e6aca-cc3c-4170-a044-9950eb7401bc&postbackURL=/general/reprocessing.aspx&addToCartButton=Finished%20Editing&cancelButton=Cancel%20Order&approveWhenDone=true</edocEditURL>
<eDocProofs>
<string>http://orderingplatform.com/files/Subscribers/ebd66fab-bd4b-41fd-a15f-d892735600bc/Orders/2189/4/proof1.jpg</string>
</eDocProofs>
<Shipments />
<WorkflowID>9452a178-226f-4a54-b4ea-cdf4a76fc853</WorkflowID>
<WorkflowChanges>
<workflowAction>
<Status>Order Received</Status>
<PrinterStage>Order Received</PrinterStage>
<ActionDateTime>2014-03-24T19:50:53.053</ActionDateTime>
<ResponsibleUser>matteo portaluri &lt;portaluri.m@gmail.com&gt;</ResponsibleUser>
</workflowAction>
</WorkflowChanges>
<IsProofApproved>false</IsProofApproved>
<NeedsProofApproval>false</NeedsProofApproval>
<isApproved>true</isApproved>
<isDenied>false</isDenied>
<NeedsApproval>false</NeedsApproval>
<canApprove>false</canApprove>
<canEdit>false</canEdit>
<approvalID>00000000-0000-0000-0000-000000000000</approvalID>
<Status>Order Received</Status>
<CustomerStage>Order Received</CustomerStage>
<LastStatusdate>2014-03-24T19:50:53.053</LastStatusdate>
<OpenState>open</OpenState>
<totalItems>1</totalItems>
<productMisID />
<productLocation />
<productCategory>Business Cards</productCategory>
<ShowEdocProofInCart>true</ShowEdocProofInCart>
<isApprovedWithModifications>false</isApprovedWithModifications>
</orderInfoItem>
</OrderItems>
<forms xmlns="http://w2p.aleyant.com/" />
<siteDomain xmlns="http://w2p.aleyant.com/">b2bccstore.v4.pressero.com</siteDomain>
<siteID xmlns="http://w2p.aleyant.com/">0a351af7-1d6e-48be-93d4-c04969f27429</siteID>
<IsPayComplete xmlns="http://w2p.aleyant.com/">false</IsPayComplete>
<payments xmlns="http://w2p.aleyant.com/" />
<RequestShipDate xmlns="http://w2p.aleyant.com/">0001-01-01T00:00:00</RequestShipDate>
<siteMisID xmlns="http://w2p.aleyant.com/" />
<taxID xmlns="http://w2p.aleyant.com/" />
<isOpenTerms xmlns="http://w2p.aleyant.com/">true</isOpenTerms>
<checkoutPaymentMethodID xmlns="http://w2p.aleyant.com/">1ca5f22c-3dbc-4f01-9b0e-54f9f65a090d</checkoutPaymentMethodID>
<checkoutPaymentMethodName xmlns="http://w2p.aleyant.com/">Open Terms</checkoutPaymentMethodName>
<checkoutPaymentSubscriberMethodName xmlns="http://w2p.aleyant.com/">Open Terms</checkoutPaymentSubscriberMethodName>
<IsOrderEdited xmlns="http://w2p.aleyant.com/">false</IsOrderEdited>
</orderInfo>