Kinook Software Forums

Kinook Software Forums (http://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (http://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Include Exclude Seperator (http://www.kinook.com/Forum/showthread.php?t=2581)

glavian 05-02-2007 12:14 PM

Include Exclude Seperator
 
Hi,

I'm reading my include and exclude files/file paths from an XML attribute string. Is there a seperator I can use to signify end of line or do I need to parse the string myself.

For example I want my exclude path to look like:
/Decals
**/BloodTextures

The string I read in from XML is: "/Decals,**/BloodTextures"


Thanks,
Keith

kinook 05-02-2007 01:32 PM

The separator needs to be a newline. You can convert the commas to newlines via a script expression (assumes VBScript is the default script language):

[Replace("%READ_XML(%XML_FILE%,xpath/to/@attr)%", ",", vbCrLf)]

http://www.visualbuild.com/Manual/scriptexpressions.htm
http://www.visualbuild.com/Manual/systemmacros.htm


All times are GMT -5. The time now is 12:23 AM.


Copyright 1999-2019 Kinook Software, Inc.